package com.kensure.shike.baobei.dao;

import co.kensure.annotation.MyBatisRepository;
import co.kensure.frame.JSBaseDao;
import java.util.List;
import java.util.Collection;
import java.util.Map;
import com.kensure.shike.baobei.model.SKBaobeiSku;

/**
 * 宝贝信息skuDao接口类
 * 
 * @author fankd created on 2019-6-10
 * @since
 */
@MyBatisRepository
public interface SKBaobeiSkuDao extends JSBaseDao<SKBaobeiSku> {

	public SKBaobeiSku selectOne(Long id);

	public List<SKBaobeiSku> selectByIds(Collection<Long> ids);

	public List<SKBaobeiSku> selectByWhere(Map<String, Object> parameters);

	public long selectCountByWhere(Map<String, Object> parameters);
	
	public long sumByWhere(Map<String, Object> parameters);
	
	public boolean insert(SKBaobeiSku obj);

	public boolean update(SKBaobeiSku obj);

	public boolean updateByMap(Map<String, Object> params);

	public boolean delete(Long id);

	public boolean deleteMulti(Collection<Long> ids);

	public boolean deleteByWhere(Map<String, Object> parameters);

}
